import { RouteRecordRaw, RouterView } from 'vue-router'

const routes: RouteRecordRaw = {
  path: 'article',
  component: RouterView,
  children: [
    {
      path: 'list',
      name: 'ArticleList',
      component: () => import('@/views/Article/List/index.vue'),
      meta: {
        title: '文章>文章列表'
      }
    },
    {
      path: 'classify',
      name: 'ArticleClassify',
      component: () => import('@/views/Article/Classify/index.vue'),
      meta: {
        title: '文章>分类列表'
      }
    },
    {
      path: 'tag',
      name: 'ArticleTag',
      component: () => import('@/views/Article/Tag/index.vue'),
      meta: {
        title: '文章>标签列表'
      }
    }
  ]
}

export default routes